<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JSON Voorhees: jsonv::detail::string_view Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JSON Voorhees
   </div>
   <div id="projectbrief">Killer JSON for C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classjsonv_1_1detail_1_1string__view.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classjsonv_1_1detail_1_1string__view-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">jsonv::detail::string_view Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A non-owning reference to an <code>std::string</code>, as proposed to the C++ Standard Committee by Jeffrey Yasskin in N3921 (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3921.html">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3921.html</a>).  
 <a href="classjsonv_1_1detail_1_1string__view.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="detail_2string__view_8hpp_source.html">jsonv/detail/string_view.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a3e4fc221153cb67539179c9ee5cce437"><td class="memItemLeft" align="right" valign="top"><a id="a3e4fc221153cb67539179c9ee5cce437"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>value_type</b> = char</td></tr>
<tr class="separator:a3e4fc221153cb67539179c9ee5cce437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5248dd0bf9c8aa84a293cfeaccc7d71f"><td class="memItemLeft" align="right" valign="top"><a id="a5248dd0bf9c8aa84a293cfeaccc7d71f"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>pointer</b> = const value_type *</td></tr>
<tr class="separator:a5248dd0bf9c8aa84a293cfeaccc7d71f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cd4fbec519ecbd4079befb3c5cea2c5"><td class="memItemLeft" align="right" valign="top"><a id="a3cd4fbec519ecbd4079befb3c5cea2c5"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>reference</b> = const value_type &amp;</td></tr>
<tr class="separator:a3cd4fbec519ecbd4079befb3c5cea2c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1f0776b025b3f70335ffed1302f7302"><td class="memItemLeft" align="right" valign="top"><a id="ad1f0776b025b3f70335ffed1302f7302"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_reference</b> = const value_type &amp;</td></tr>
<tr class="separator:ad1f0776b025b3f70335ffed1302f7302"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbb64ab56f604d48822bc631283b1f72"><td class="memItemLeft" align="right" valign="top"><a id="acbb64ab56f604d48822bc631283b1f72"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>iterator</b> = pointer</td></tr>
<tr class="separator:acbb64ab56f604d48822bc631283b1f72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa919ca62984989e1ee27d21f96fd45af"><td class="memItemLeft" align="right" valign="top"><a id="aa919ca62984989e1ee27d21f96fd45af"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_iterator</b> = pointer</td></tr>
<tr class="separator:aa919ca62984989e1ee27d21f96fd45af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb98da18bc1c3f54d2c063e4faa7ffb1"><td class="memItemLeft" align="right" valign="top"><a id="adb98da18bc1c3f54d2c063e4faa7ffb1"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>reverse_iterator</b> = std::reverse_iterator&lt; iterator &gt;</td></tr>
<tr class="separator:adb98da18bc1c3f54d2c063e4faa7ffb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b5a2d13c989b83589ea88d8e12ee757"><td class="memItemLeft" align="right" valign="top"><a id="a2b5a2d13c989b83589ea88d8e12ee757"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_reverse_iterator</b> = std::reverse_iterator&lt; const_iterator &gt;</td></tr>
<tr class="separator:a2b5a2d13c989b83589ea88d8e12ee757"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2dddd1d360da5a386d1486d918b37fa"><td class="memItemLeft" align="right" valign="top"><a id="aa2dddd1d360da5a386d1486d918b37fa"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>size_type</b> = std::size_t</td></tr>
<tr class="separator:aa2dddd1d360da5a386d1486d918b37fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf55c129a0c6d2fc47a7893382e628b4"><td class="memItemLeft" align="right" valign="top"><a id="abf55c129a0c6d2fc47a7893382e628b4"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>difference_type</b> = std::ptrdiff_t</td></tr>
<tr class="separator:abf55c129a0c6d2fc47a7893382e628b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a47af95d1d34814298177adf11228baee"><td class="memItemLeft" align="right" valign="top"><a id="a47af95d1d34814298177adf11228baee"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>string_view</b> (pointer p) noexcept</td></tr>
<tr class="separator:a47af95d1d34814298177adf11228baee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebee40ec7913066bb54c3576537ac27b"><td class="memItemLeft" align="right" valign="top"><a id="aebee40ec7913066bb54c3576537ac27b"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><b>string_view</b> (pointer p, size_type len) noexcept</td></tr>
<tr class="separator:aebee40ec7913066bb54c3576537ac27b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af08ae5811cc3e359c89f7827560c3765"><td class="memTemplParams" colspan="2"><a id="af08ae5811cc3e359c89f7827560c3765"></a>
template&lt;typename UAllocator &gt; </td></tr>
<tr class="memitem:af08ae5811cc3e359c89f7827560c3765"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>string_view</b> (const std::basic_string&lt; value_type, std::char_traits&lt; value_type &gt;, UAllocator &gt; &amp;src) noexcept(noexcept(src.data()) &amp;&amp;noexcept(src.length()))</td></tr>
<tr class="separator:af08ae5811cc3e359c89f7827560c3765"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eec44994ce901f3a01c2c8723183ead"><td class="memItemLeft" align="right" valign="top"><a id="a6eec44994ce901f3a01c2c8723183ead"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>string_view</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;) noexcept=default</td></tr>
<tr class="separator:a6eec44994ce901f3a01c2c8723183ead"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e80f2fe0322314fa10f2796c7c3134d"><td class="memItemLeft" align="right" valign="top"><a id="a1e80f2fe0322314fa10f2796c7c3134d"></a>
<a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;) noexcept=default</td></tr>
<tr class="separator:a1e80f2fe0322314fa10f2796c7c3134d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf160149fbeaa15650ac268de4edf772"><td class="memTemplParams" colspan="2"><a id="abf160149fbeaa15650ac268de4edf772"></a>
template&lt;typename UAllocator &gt; </td></tr>
<tr class="memitem:abf160149fbeaa15650ac268de4edf772"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator std::basic_string&lt; value_type, std::char_traits&lt; value_type &gt;, UAllocator &gt;</b> () const</td></tr>
<tr class="separator:abf160149fbeaa15650ac268de4edf772"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0f4f13b7e4fd2f7458c3645300786c"><td class="memItemLeft" align="right" valign="top"><a id="adc0f4f13b7e4fd2f7458c3645300786c"></a>
constexpr size_type&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const noexcept</td></tr>
<tr class="separator:adc0f4f13b7e4fd2f7458c3645300786c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a885248ba821f6d92b4eb8ed42c7a5530"><td class="memItemLeft" align="right" valign="top"><a id="a885248ba821f6d92b4eb8ed42c7a5530"></a>
constexpr size_type&#160;</td><td class="memItemRight" valign="bottom"><b>max_size</b> () const noexcept</td></tr>
<tr class="separator:a885248ba821f6d92b4eb8ed42c7a5530"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb867f60a1f8432d992c244b06f3e999"><td class="memItemLeft" align="right" valign="top"><a id="afb867f60a1f8432d992c244b06f3e999"></a>
constexpr size_type&#160;</td><td class="memItemRight" valign="bottom"><b>length</b> () const noexcept</td></tr>
<tr class="separator:afb867f60a1f8432d992c244b06f3e999"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0806c712f9b0e2e3ecc35c4dc57ffab1"><td class="memItemLeft" align="right" valign="top"><a id="a0806c712f9b0e2e3ecc35c4dc57ffab1"></a>
constexpr bool&#160;</td><td class="memItemRight" valign="bottom"><b>empty</b> () const noexcept</td></tr>
<tr class="separator:a0806c712f9b0e2e3ecc35c4dc57ffab1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ac69a6cc12fee69e10bef05943c16db"><td class="memItemLeft" align="right" valign="top"><a id="a7ac69a6cc12fee69e10bef05943c16db"></a>
constexpr const_reference&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (size_type idx) const</td></tr>
<tr class="separator:a7ac69a6cc12fee69e10bef05943c16db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c87a7bf6af49b61eb9b82d02c5d09fc"><td class="memItemLeft" align="right" valign="top"><a id="a9c87a7bf6af49b61eb9b82d02c5d09fc"></a>
const_reference&#160;</td><td class="memItemRight" valign="bottom"><b>at</b> (size_type idx) const</td></tr>
<tr class="separator:a9c87a7bf6af49b61eb9b82d02c5d09fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab01adc30be760d52838db171b010a002"><td class="memItemLeft" align="right" valign="top"><a id="ab01adc30be760d52838db171b010a002"></a>
constexpr const_reference&#160;</td><td class="memItemRight" valign="bottom"><b>front</b> () const</td></tr>
<tr class="separator:ab01adc30be760d52838db171b010a002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21a63cbbcfbb661ec054ff2431bf9b90"><td class="memItemLeft" align="right" valign="top"><a id="a21a63cbbcfbb661ec054ff2431bf9b90"></a>
constexpr const_reference&#160;</td><td class="memItemRight" valign="bottom"><b>back</b> () const</td></tr>
<tr class="separator:a21a63cbbcfbb661ec054ff2431bf9b90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a328913e9814203f4a8c963ffe1ae71f2"><td class="memItemLeft" align="right" valign="top"><a id="a328913e9814203f4a8c963ffe1ae71f2"></a>
constexpr pointer&#160;</td><td class="memItemRight" valign="bottom"><b>data</b> () const</td></tr>
<tr class="separator:a328913e9814203f4a8c963ffe1ae71f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af518d8c91025282b00b3614a58f5f75d"><td class="memItemLeft" align="right" valign="top"><a id="af518d8c91025282b00b3614a58f5f75d"></a>
constexpr const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>begin</b> () const</td></tr>
<tr class="separator:af518d8c91025282b00b3614a58f5f75d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fd3ee65560d5e9ff3727b55749e4c40"><td class="memItemLeft" align="right" valign="top"><a id="a5fd3ee65560d5e9ff3727b55749e4c40"></a>
constexpr const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>cbegin</b> () const</td></tr>
<tr class="separator:a5fd3ee65560d5e9ff3727b55749e4c40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c63a7d28bc44f82389e29701f135646"><td class="memItemLeft" align="right" valign="top"><a id="a2c63a7d28bc44f82389e29701f135646"></a>
constexpr const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>end</b> () const</td></tr>
<tr class="separator:a2c63a7d28bc44f82389e29701f135646"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa75da3e1e09b6f2223ebd3d4eaf4fd70"><td class="memItemLeft" align="right" valign="top"><a id="aa75da3e1e09b6f2223ebd3d4eaf4fd70"></a>
constexpr const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>cend</b> () const</td></tr>
<tr class="separator:aa75da3e1e09b6f2223ebd3d4eaf4fd70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a869840139af45cb646fea005f8675498"><td class="memItemLeft" align="right" valign="top"><a id="a869840139af45cb646fea005f8675498"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>rbegin</b> () const</td></tr>
<tr class="separator:a869840139af45cb646fea005f8675498"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67575c4ef6485043b0bd27488ba3ea83"><td class="memItemLeft" align="right" valign="top"><a id="a67575c4ef6485043b0bd27488ba3ea83"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>crbegin</b> () const</td></tr>
<tr class="separator:a67575c4ef6485043b0bd27488ba3ea83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dc2f367ebe2f8b64f4fd5b3ea01bc29"><td class="memItemLeft" align="right" valign="top"><a id="a7dc2f367ebe2f8b64f4fd5b3ea01bc29"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>rend</b> () const</td></tr>
<tr class="separator:a7dc2f367ebe2f8b64f4fd5b3ea01bc29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5be0c1928a95d9b042c6cca0efb8330b"><td class="memItemLeft" align="right" valign="top"><a id="a5be0c1928a95d9b042c6cca0efb8330b"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>crend</b> () const</td></tr>
<tr class="separator:a5be0c1928a95d9b042c6cca0efb8330b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11fdf7aae6830d2b01b4da988dc52db4"><td class="memItemLeft" align="right" valign="top"><a id="a11fdf7aae6830d2b01b4da988dc52db4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
<tr class="separator:a11fdf7aae6830d2b01b4da988dc52db4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6027f852836869d7cf2fcf733169565"><td class="memItemLeft" align="right" valign="top"><a id="ae6027f852836869d7cf2fcf733169565"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>remove_prefix</b> (size_type n)</td></tr>
<tr class="separator:ae6027f852836869d7cf2fcf733169565"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42e677a67980af2b8c2846f3d748da1d"><td class="memItemLeft" align="right" valign="top"><a id="a42e677a67980af2b8c2846f3d748da1d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>remove_suffix</b> (size_type n)</td></tr>
<tr class="separator:a42e677a67980af2b8c2846f3d748da1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3af2db9fb1abcab5c5644e6a4ad941f1"><td class="memItemLeft" align="right" valign="top"><a id="a3af2db9fb1abcab5c5644e6a4ad941f1"></a>
<a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a>&#160;</td><td class="memItemRight" valign="bottom"><b>substr</b> (size_type idx, size_type count=npos) const</td></tr>
<tr class="separator:a3af2db9fb1abcab5c5644e6a4ad941f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5168ff3cd38bc1170114c7b5737c5b70"><td class="memItemLeft" align="right" valign="top"><a id="a5168ff3cd38bc1170114c7b5737c5b70"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>starts_with</b> (value_type val) const</td></tr>
<tr class="separator:a5168ff3cd38bc1170114c7b5737c5b70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89862eac9f51a622c68d331733d70a36"><td class="memItemLeft" align="right" valign="top"><a id="a89862eac9f51a622c68d331733d70a36"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>starts_with</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;sub) const</td></tr>
<tr class="separator:a89862eac9f51a622c68d331733d70a36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb27fdb0c3321139835205bab29ec402"><td class="memItemLeft" align="right" valign="top"><a id="aeb27fdb0c3321139835205bab29ec402"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ends_with</b> (value_type val) const</td></tr>
<tr class="separator:aeb27fdb0c3321139835205bab29ec402"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1982867ad311ae5d1d5b8684b3b6459"><td class="memItemLeft" align="right" valign="top"><a id="ac1982867ad311ae5d1d5b8684b3b6459"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ends_with</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;sub) const</td></tr>
<tr class="separator:ac1982867ad311ae5d1d5b8684b3b6459"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae91baa16875c64f6cf64e699e7317c9e"><td class="memItemLeft" align="right" valign="top"><a id="ae91baa16875c64f6cf64e699e7317c9e"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;sub) const</td></tr>
<tr class="separator:ae91baa16875c64f6cf64e699e7317c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3061fe99cbd9cd1d0861504f7c62c0d"><td class="memItemLeft" align="right" valign="top"><a id="af3061fe99cbd9cd1d0861504f7c62c0d"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find</b> (value_type val) const</td></tr>
<tr class="separator:af3061fe99cbd9cd1d0861504f7c62c0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40ad460e53a5345f977153f1ed6368c2"><td class="memItemLeft" align="right" valign="top"><a id="a40ad460e53a5345f977153f1ed6368c2"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>rfind</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;sub) const</td></tr>
<tr class="separator:a40ad460e53a5345f977153f1ed6368c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab03cf730a7205b0a7e2b90c730624f07"><td class="memItemLeft" align="right" valign="top"><a id="ab03cf730a7205b0a7e2b90c730624f07"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>rfind</b> (value_type val) const</td></tr>
<tr class="separator:ab03cf730a7205b0a7e2b90c730624f07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e2dc85c5addf13b1712e1c6b4034e69"><td class="memItemLeft" align="right" valign="top"><a id="a0e2dc85c5addf13b1712e1c6b4034e69"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_first_of</b> (value_type val) const</td></tr>
<tr class="separator:a0e2dc85c5addf13b1712e1c6b4034e69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6745e375b8d386995bded5548c5389d"><td class="memItemLeft" align="right" valign="top"><a id="ad6745e375b8d386995bded5548c5389d"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_first_of</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;chars) const</td></tr>
<tr class="separator:ad6745e375b8d386995bded5548c5389d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d6be9cbc9d621720041ea027e651262"><td class="memItemLeft" align="right" valign="top"><a id="a1d6be9cbc9d621720041ea027e651262"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_first_not_of</b> (value_type val) const</td></tr>
<tr class="separator:a1d6be9cbc9d621720041ea027e651262"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa86ebca22b016eb81212f1686ff890a6"><td class="memItemLeft" align="right" valign="top"><a id="aa86ebca22b016eb81212f1686ff890a6"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_first_not_of</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;chars) const</td></tr>
<tr class="separator:aa86ebca22b016eb81212f1686ff890a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fea4172d0c35e13a68de4eb38ca4ebf"><td class="memItemLeft" align="right" valign="top"><a id="a3fea4172d0c35e13a68de4eb38ca4ebf"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_last_of</b> (value_type val) const</td></tr>
<tr class="separator:a3fea4172d0c35e13a68de4eb38ca4ebf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa458e2e827bb3a86cdedd58ebcf0bd2f"><td class="memItemLeft" align="right" valign="top"><a id="aa458e2e827bb3a86cdedd58ebcf0bd2f"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_last_of</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;chars) const</td></tr>
<tr class="separator:aa458e2e827bb3a86cdedd58ebcf0bd2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e2c735473a83eaf89f018d4289df754"><td class="memItemLeft" align="right" valign="top"><a id="a3e2c735473a83eaf89f018d4289df754"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_last_not_of</b> (value_type val) const</td></tr>
<tr class="separator:a3e2c735473a83eaf89f018d4289df754"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad115899ea3d517b12a976e36712bd09f"><td class="memItemLeft" align="right" valign="top"><a id="ad115899ea3d517b12a976e36712bd09f"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>find_last_not_of</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;chars) const</td></tr>
<tr class="separator:ad115899ea3d517b12a976e36712bd09f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad94ac0e26b293c7dcf95cc28dc94a1d7"><td class="memItemLeft" align="right" valign="top"><a id="ad94ac0e26b293c7dcf95cc28dc94a1d7"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const</td></tr>
<tr class="separator:ad94ac0e26b293c7dcf95cc28dc94a1d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0e29496f6c222fe336fdd4bbde02480"><td class="memItemLeft" align="right" valign="top"><a id="ae0e29496f6c222fe336fdd4bbde02480"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const</td></tr>
<tr class="separator:ae0e29496f6c222fe336fdd4bbde02480"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6ff05bd0a5d817f47cf21c4ab1b5c6e"><td class="memItemLeft" align="right" valign="top"><a id="af6ff05bd0a5d817f47cf21c4ab1b5c6e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const</td></tr>
<tr class="separator:af6ff05bd0a5d817f47cf21c4ab1b5c6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a366963f65b62db4662ec6e3fe3ab3f82"><td class="memItemLeft" align="right" valign="top"><a id="a366963f65b62db4662ec6e3fe3ab3f82"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;=</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const</td></tr>
<tr class="separator:a366963f65b62db4662ec6e3fe3ab3f82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a95dc1b777c73b9b59d3678b1b4acec"><td class="memItemLeft" align="right" valign="top"><a id="a3a95dc1b777c73b9b59d3678b1b4acec"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&gt;</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const</td></tr>
<tr class="separator:a3a95dc1b777c73b9b59d3678b1b4acec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31a516bdc7346a1ae482ab8efd14397d"><td class="memItemLeft" align="right" valign="top"><a id="a31a516bdc7346a1ae482ab8efd14397d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&gt;=</b> (const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;other) const</td></tr>
<tr class="separator:a31a516bdc7346a1ae482ab8efd14397d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ad07cd920651939c5ee622fab0f6373ef"><td class="memItemLeft" align="right" valign="top"><a id="ad07cd920651939c5ee622fab0f6373ef"></a>
static constexpr size_type&#160;</td><td class="memItemRight" valign="bottom"><b>npos</b> = size_type(~0)</td></tr>
<tr class="separator:ad07cd920651939c5ee622fab0f6373ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a798134cc544312159dc5617b0579cb1b"><td class="memItemLeft" align="right" valign="top"><a id="a798134cc544312159dc5617b0579cb1b"></a>
std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (std::ostream &amp;os, const <a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a> &amp;self)</td></tr>
<tr class="separator:a798134cc544312159dc5617b0579cb1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A non-owning reference to an <code>std::string</code>, as proposed to the C++ Standard Committee by Jeffrey Yasskin in N3921 (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3921.html">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3921.html</a>). </p>
<p>Unlike the one proposed, this is not templated over the <code>char</code> type, as this project only deals with UTF-8 encoded strings. </p>

<p class="definition">Definition at line <a class="el" href="detail_2string__view_8hpp_source.html#l00034">34</a> of file <a class="el" href="detail_2string__view_8hpp_source.html">string_view.hpp</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>jsonv/detail/<a class="el" href="detail_2string__view_8hpp_source.html">string_view.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>jsonv</b></li><li class="navelem"><b>detail</b></li><li class="navelem"><a class="el" href="classjsonv_1_1detail_1_1string__view.html">string_view</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
